#f21010631 徐唯嘉
import cv2 as cv
image = cv.imread("aoteman.jpeg")
import numpy as np # 导入Numpy模块
#
# # b,g,r = cv.split(image) # 拆分图像通道为b、g、r三个通道
# # cv.imshow("b",b) # 显示b通道的图像信息
# # cv.imshow("g",g) # 显示g通道的图像信息
# # cv.imshow("r",r) # 显示r通道的图像信息
# # cv.imshow("image", image)
# # cv.waitKey()
# # cv.destroyAllWindows()
#
#
#
# # b,g,r = cv.split(image) # 拆分图像通道分为b、g、r三个通道
# # imagebgr = cv.merge([b,g,r]) # 合并b、g、r这三个图像通道
# # cv.imshow("image", image)
# # cv.imshow("imagegbgr", imagebgr)
# # cv.waitKey()
# # cv.destroyAllWindows()
#
#
#
# # print("image.shape",image.shape) # 输出图像的大小属性
# # print("image.size",image.size) # 输出图像的像素数目属性
# # print("image.dtype",image.dtype)